import java.util.Scanner;

public class score {
    public static void main(String[] args) {
        int score[] = new int[5];
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入5位学生的Java考试成绩：");
        System.out.print("第1位学生成绩：");
        score[0] = sc.nextInt();
        System.out.print("第2位学生成绩：");
        score[1] = sc.nextInt();
        System.out.print("第3位学生成绩：");
        score[2] = sc.nextInt();
        System.out.print("第4位学生成绩：");
        score[3] = sc.nextInt();
        System.out.print("第5位学生成绩：");
        score[4] = sc.nextInt();

        int max = score[0];
        for (int i = 1; i < score.length; i++) {
            if (score[i] > max) {
                max = score[i];
            }
        }
        System.out.printf("本次考试的最高分为：%.1f\n", (float)max);
    }
}
